local plr = owner char = plr.Character root = char.HumanoidRootPart local raycastp = RaycastParams.new() raycastp.FilterDescendantsInstances = {char} raycastp.FilterType = Enum.RaycastFilterType.Blacklist local debounce = false while task.wait() do hit = workspace:Raycast(root.Position,Vector3.new(0,-3,0),raycastp) if hit then if debounce == false then if hit.Instance then if hit.Instance.Anchored == false then if hit.Instance:FindFirstChildOfClass("BodyVelocity") == nil then local bp = Instance.new("BodyVelocity") bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge) if hit.Instance.Parent:FindFirstChildOfClass("Humanoid") then local hum = hit.Instance.Parent:FindFirstChildOfClass("Humanoid") hum.PlatformStand = true local root = hum.RootPart bp.Parent = root bp.Velocity = Vector3.new(math.random(-500,500),500,math.random(-500,500)) root.AssemblyAngularVelocity = Vector3.new(math.random(-90,90),math.random(-90,90),math.random(-90,90)) spawn(function() wait(.1) bp:Destroy() end) spawn(function() wait(6) hum.PlatformStand = false end) else bp.Parent = hit.Instance bp.Velocity = Vector3.new(math.random(-500,500),500,math.random(-500,500)) hit.Instance.AssemblyAngularVelocity = Vector3.new(math.random(-90,90),math.random(-90,90),math.random(-90,90)) spawn(function() wait(.1) bp:Destroy() end) end end end end end end end